﻿@model TidyBlog.Entity.User

@{
	ViewBag.Title = "编辑用户";
	Layout = "~/Views/Shared/_ManageLayout.cshtml";
}


<form action="@Url.Action("Edit")" method="post">
	<table class="cols-4">
		<thead>
			<tr><th colspan="4">@ViewBag.Title</th></tr>
		</thead>
		<tfoot>
			<tr>
				<td colspan="4" class="buttons">
					<input type="submit" value="提 交" />
				</td>
			</tr>
		</tfoot>
		<tbody>
			<tr class="cols-2">
				<th><label for="UserName">用户名：</label></th>
				<td colspan="3">@Model.UserName<input type="hidden" name="UserId" value="@Model.UserId" /></td>
			</tr>
			<tr>
				<th><label for="Nickname">昵称：</label></th>
				<td>
					<input name="Nickname" id="Nickname" type="text" maxlength="30" size="16" value="@Model.Nickname" />
					<span class="required">*</span>
				</td>
				<th><label for="QQ">QQ：</label></th>
				<td><input name="QQ" id="QQ" type="text" maxlength="15" size="16" value="@Model.QQ" /></td>
			</tr>
			<tr>
				<th><label for="Password">密码：</label></th>
				<td><input name="Password" id="Password" type="password" maxlength="16" size="16" /></td>
				<th><label for="Password2">重复密码：</label></th>
				<td><input name="Password2" id="Password2" type="password" maxlength="16" size="16" /></td>
			</tr>
			<tr>
				<th><label for="Email">Email：</label></th>
				<td><input name="Email" id="Email" type="text" maxlength="50" size="30" value="@Model.Email" /></td>
				<th><label for="HomePage">博客地址：</label></th>
				<td><input name="HomePage" id="HomePage" type="text" maxlength="50" size="30" value="@Model.HomePage" /></td>
			</tr>
		</tbody>
	</table>
</form>

@section Script{
<script>require('/manage-page/user/data/1.x/');</script>
}